package cn.example.backstage.appointment.mapper;

import cn.example.backstage.appointment.pojo.dto.AppointmentAddDTO;
import cn.example.backstage.appointment.pojo.dto.AppointmentQuery;
import cn.example.backstage.appointment.pojo.vo.AppointmentVO;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface AppointmentRegisterMapper {
    List<AppointmentVO> select(AppointmentQuery appointmentQuery);

    void insert(AppointmentAddDTO appointmentAddDTO);

    void update(AppointmentAddDTO appointmentAddDTO);

    void deleteById(Long id);
}
